using System;
using System.Collections.Generic;
using UnityEngine;

namespace ConsentManagementProviderLib.iOS
{
	internal class ConsentWrapperIOS
	{
		private static ConsentWrapperIOS instance;

		private static GameObject IOSListenerGO;

		private static CMPiOSListenerHelper iOSListener;

		public static ConsentWrapperIOS Instance
		{
			get
			{
				if (instance == null)
				{
					instance = new ConsentWrapperIOS();
				}
				return instance;
			}
			private set
			{
				instance = value;
			}
		}

		private static void CreateHelperIOSListener()
		{
			IOSListenerGO = new GameObject();
			iOSListener = IOSListenerGO.AddComponent<CMPiOSListenerHelper>();
		}

		public void InitializeLib(List<SpCampaign> spCampaigns, int accountId, int propertyId, string propertyName, MESSAGE_LANGUAGE language, CAMPAIGN_ENV campaignsEnvironment, long messageTimeoutInSeconds = 3L)
		{
		}

		public void LoadMessage(string authId = null)
		{
		}

		public void LoadGDPRPrivacyManager(string pmId, PRIVACY_MANAGER_TAB tab)
		{
		}

		public void LoadCCPAPrivacyManager(string pmId, PRIVACY_MANAGER_TAB tab)
		{
		}

		public void CustomConsentGDPR(string[] vendors, string[] categories, string[] legIntCategories, Action<GdprConsent> onSuccessDelegate)
		{
		}

		public GdprConsent GetCustomGdprConsent()
		{
			return iOSListener.customGdprConsent;
		}

		public SpConsents GetSpConsents()
		{
			return iOSListener._spConsents;
		}

		public void Dispose()
		{
		}
	}
}
